From: Eli Zaretskii Date: Sat, 12 Sep 2009 09:45:36 +0000 (+0000) Subject: (dos-reevaluate-defcustoms): Comment out the reevaluation of trash-directory. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~10519 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=c3eea1c6116d6af38b084424e380cdd67af6c5c0;p=emacs.git (dos-reevaluate-defcustoms): Comment out the reevaluation of trash-directory. --- diff --git a/lisp/dos-fns.el b/lisp/dos-fns.el index 3cfaa73d5a0..fadf09c70c2 100644 --- a/lisp/dos-fns.el +++ b/lisp/dos-fns.el @@ -224,8 +224,11 @@ returned unaltered." ;; see if the list of defcustom's below is up to date, run the command ;; "M-x apropos-value RET ~/\. RET". (defun dos-reevaluate-defcustoms () - ;; This was computed at dump time. - (custom-reevaluate-setting 'trash-directory)) + ;; This is not needed in Emacs 23.2 and later, as trash-directory is + ;; initialized as nil. But something like this might become + ;; necessary in the future, so I'm keeping it here as a reminder. + ;(custom-reevaluate-setting 'trash-directory) + ) (add-hook 'before-init-hook 'dos-reevaluate-defcustoms)